/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 25/10/13
 * Time: 16:15
 * To change this template use File | Settings | File Templates.
 */
public class Accueil {

    private Medecin medecin;

    public Accueil(Medecin medecin) {
        this.medecin = medecin;
    }

    public Dossier accueillir(String nom,String prenom)
    {
      Dossier d = new Dossier(nom,prenom);

      medecin.consulter(d);
      return d;
    }

}
